package course.pojo.excelModel;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author HLF
 * @date 2022/7/5 16:32
 */
@Data
@EqualsAndHashCode
public class SubjectModel {
    /**
     * 课程id
     */
    @ExcelProperty(value = "课程id", index = 0)
    private Integer suid;

    /**
     * 课程名称
     */
    @ExcelProperty(value = "课程名称", index = 1)
    private String suname;

    /**
     * 所属学院id
     */
    @ExcelIgnore
    private Integer cid;

    /**
     * 所属学院名
     */
    @ExcelProperty(value = "所属学院", index = 2)
    private String cname;
}
